﻿using System;
using System.Windows;
using System.Windows.Controls;

namespace HOG.Controls
{
    public partial class EndGameControl : UserControl
    {
        public EndGameControl()
        {
            InitializeComponent();
        }
        public EventHandler BackToMainMenu;

        private void Button_Click(object sender, RoutedEventArgs e)
        {
            if (BackToMainMenu != null)
                BackToMainMenu(null, null);
        }
        public void PopulateData(int points, int time)
        {
            //Score.Text = points.ToString();
            //Time.Text = time.ToString()+" s";
        }
    }
}
